<input type="hidden" name="admin.id" value="#(admin.id)">
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">账号</label>
		<div class="layui-input-inline">
			<input type="text" name="admin.account" lay-verify="required|account" placeholder="用于登录系统" autocomplete="off" class="layui-input" value="#(admin.account)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">昵称</label>
		<div class="layui-input-inline">
			<input type="text" name="admin.name" lay-verify="required|name" placeholder="用于显示" autocomplete="off" class="layui-input" value="#(admin.name)">
		</div>
	</div>
#if(admin.id == 1)
	<input type="hidden" name="admin.status" value="on">
#else
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">状态</label>
		<div class="layui-input-inline">
			<input type="radio" name="admin.status" value="on" title="启用" #if(admin.status == 'on' || admin.status == null) checked #end>
			<input type="radio" name="admin.status" value="off" title="禁用" #if(admin.status == 'off') checked #end>
		</div>
	</div>
#end
</div>

<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">组织机构</label>
		<div class="layui-input-inline">
			<input type="text" id="orgSelect" lay-verify="required" name="admin.orgId" lay-filter="orgSelect" placeholder="选择组织机构" class="layui-input" value="#(admin.orgId)">
		</div>
	</div>
</div>

#if(null == admin.id)
<div class="layui-form-item hide_in_view">
	<label class="layui-form-label layui-bg-blue">登录密码</label>
	<div class="layui-input-inline">
		<input type="password" name="admin.password" lay-verify="required|pass" placeholder="请输入登录密码" autocomplete="off" class="layui-input">
	</div>
	<div class="layui-form-mid layui-word-aux">6到20位</div>
</div>
#else
<div class="layui-form-item hide_in_view">
	<div class="layui-inline">
		<label class="layui-form-label">操作员密码</label>
		<div class="layui-input-inline">
			<input type="password" name="selfPassword" lay-verify="selfPass|pass" placeholder="请输入操作员登录密码" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label">新密码</label>
		<div class="layui-input-inline">
			<input type="password" id="ID_new_password" name="newPassword" lay-verify="pass" placeholder="请输入新密码" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label">确认密码</label>
		<div class="layui-input-inline">
			<input type="password" name="confirmPassword" lay-verify="confirmPass|pass" placeholder="请输入确认密码" autocomplete="off" class="layui-input">
		</div>
	</div>
</div>
#end

<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label">电子邮件</label>
		<div class="layui-input-inline">
			<input type="text" name="admin.email" placeholder="" autocomplete="off" class="layui-input" value="#(admin.email)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label">手机</label>
		<div class="layui-input-inline">
			<input type="text" name="admin.mobilePhone" placeholder="" autocomplete="off" class="layui-input" value="#(admin.mobilePhone)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label">电话</label>
		<div class="layui-input-inline">
			<input type="text" name="admin.telephone" placeholder="" autocomplete="off" class="layui-input" value="#(admin.telephone)">
		</div>
	</div>
</div>

<div class="layui-form-item layui-form-text">
	<label class="layui-form-label">描述</label>
	<div class="layui-input-block">
		<textarea placeholder="" name="admin.remark" class="layui-textarea">#(admin.remark)</textarea>
	</div>
</div>
